<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>操作中心</title>
<meta name="viewport" content="width=desvice-width, initial-scale=1.0">
<script
	src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link rel="stylesheet" href="/park/bootstrap/css/bootstrap.min.css" >
<link rel="stylesheet" href="/park/bootstrap/css/bootstrap-theme.min.css" >
<meta name="viewport" content="width=device-width, initial-scale=1,user-scalable:no">
<script src="/park/bootstrap/js/bootstrap.min.js" ></script>
<script src="/park/js/layer_mobile/layer.js?v=1.6"></script>
<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js" ></script>
</head>
<body>
<div style="width: 96%;margin-left: 2%;margin-top: 150px;">
<!-- 	<h3 style="text-align: center;">操作中心</h3>-->
	<div class="alert alert-success" style="text-align: center;margin-top: 30px;font-size: 20px;" onclick="go('/park/helpYh')" role="alert">场内优惠</div>
	<div class="alert alert-danger"style="text-align: center;margin-top: 30px;font-size: 20px;" onclick="go('/park/helpError')" role="alert">二维码免费</div>
	<div class="alert alert-warning"style="text-align: center;margin-top: 30px;font-size: 20px;" onclick="go('/park/helpLeave')" role="alert">抬杆放行</div>
</div>
<script type="text/javascript">
function getUrlParam(name) {
    var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
    var r = window.location.search.substr(1).match(reg);  //匹配目标参数
    if (r != null) return unescape(r[2]); return null; //返回参数值
}
function go(url){
	var param = getUrlParam('streetNo');
	var loginName = getUrlParam('loginName');
	location.href = url+'?streetNo='+param + '&loginName=' + loginName;
}
</script>
</body>
</html>